
package com.ly.ocw.soap.telvalid;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

import org.apache.commons.lang3.builder.ToStringBuilder;


/**
 * 查询手机号码email昵称是否已存在
 * 
 * <p>DT_TelephoneValidityResp complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="DT_TelephoneValidityResp"&gt;
 *   &lt;complexContent&gt;
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="return" maxOccurs="unbounded" minOccurs="0"&gt;
 *           &lt;complexType&gt;
 *             &lt;complexContent&gt;
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
 *                 &lt;sequence&gt;
 *                   &lt;element name="LOY_MEM_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="TEL_NUMBER" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="NAME_NICK" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="SMTP_ADDR" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="RETURN_CODE" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                   &lt;element name="MSH_STATUS" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
 *                 &lt;/sequence&gt;
 *               &lt;/restriction&gt;
 *             &lt;/complexContent&gt;
 *           &lt;/complexType&gt;
 *         &lt;/element&gt;
 *       &lt;/sequence&gt;
 *     &lt;/restriction&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DT_TelephoneValidityResp", propOrder = {
    "_return"
})
public class DTTelephoneValidityResp {

    @XmlElement(name = "return")
    protected List<DTTelephoneValidityResp.Return> _return;

    /**
     * Gets the value of the return property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the return property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getReturn().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link DTTelephoneValidityResp.Return }
     * 
     * 
     */
    public List<DTTelephoneValidityResp.Return> getReturn() {
        if (_return == null) {
            _return = new ArrayList<DTTelephoneValidityResp.Return>();
        }
        return this._return;
    }


    /**
     * <p>anonymous complex type的 Java 类。
     * 
     * <p>以下模式片段指定包含在此类中的预期内容。
     * 
     * <pre>
     * &lt;complexType&gt;
     *   &lt;complexContent&gt;
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
     *       &lt;sequence&gt;
     *         &lt;element name="LOY_MEM_ID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="TEL_NUMBER" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="NAME_NICK" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="SMTP_ADDR" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="RETURN_CODE" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *         &lt;element name="MSH_STATUS" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt;
     *       &lt;/sequence&gt;
     *     &lt;/restriction&gt;
     *   &lt;/complexContent&gt;
     * &lt;/complexType&gt;
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "loymemid",
        "telnumber",
        "namenick",
        "smtpaddr",
        "returncode",
        "mshstatus"
    })
    public static class Return {

        @XmlElement(name = "LOY_MEM_ID")
        protected String loymemid;
        @XmlElement(name = "TEL_NUMBER")
        protected String telnumber;
        @XmlElement(name = "NAME_NICK")
        protected String namenick;
        @XmlElement(name = "SMTP_ADDR")
        protected String smtpaddr;
        @XmlElement(name = "RETURN_CODE")
        protected String returncode;
        @XmlElement(name = "MSH_STATUS")
        protected String mshstatus;

        /**
         * 获取loymemid属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getLOYMEMID() {
            return loymemid;
        }

        /**
         * 设置loymemid属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setLOYMEMID(String value) {
            this.loymemid = value;
        }

        /**
         * 获取telnumber属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getTELNUMBER() {
            return telnumber;
        }

        /**
         * 设置telnumber属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setTELNUMBER(String value) {
            this.telnumber = value;
        }

        /**
         * 获取namenick属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getNAMENICK() {
            return namenick;
        }

        /**
         * 设置namenick属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setNAMENICK(String value) {
            this.namenick = value;
        }

        /**
         * 获取smtpaddr属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getSMTPADDR() {
            return smtpaddr;
        }

        /**
         * 设置smtpaddr属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setSMTPADDR(String value) {
            this.smtpaddr = value;
        }

        /**
         * 获取returncode属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getRETURNCODE() {
            return returncode;
        }

        /**
         * 设置returncode属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setRETURNCODE(String value) {
            this.returncode = value;
        }

        /**
         * 获取mshstatus属性的值。
         * 
         * @return
         *     possible object is
         *     {@link String }
         *     
         */
        public String getMSHSTATUS() {
            return mshstatus;
        }

        /**
         * 设置mshstatus属性的值。
         * 
         * @param value
         *     allowed object is
         *     {@link String }
         *     
         */
        public void setMSHSTATUS(String value) {
            this.mshstatus = value;
        }
        
        @Override
    	public String toString() {
    		return ToStringBuilder.reflectionToString(this);
    	}

    }

}
